define(["app","jQuery","js/init","js/update/updateView"], 
	function(app,$,base,updateView) {

	/**
	 * Bindings array. Bind DOM event to some handler function in controller
	 * @type {*[]}
	 */
	var bindings = [
		{
			element: '.cancel-update',
			event: 'click',
			handler: cancelUpdate
		},
		{
			element: '.exec-update',
			event: 'click',
			handler: execUpdate
		}
	];	

    function init() {		

		updateView.render({
			bindings: bindings,
			model: null
		});
			
	}
	
	//取消升级
	function cancelUpdate(){
		
	}

	//执行升级
	function execUpdate(){

	}
    return {
        init: init
    };
});